package com.net.xpay.openapi.dto;

import com.net.xpay.core.enums.PayStatus;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class OpenApiChargeRecordQueryDto {
    @ApiModelProperty(notes = "充值的基础金额 单位元 保留2位小数")
    private String amount;

    @ApiModelProperty(notes = "平台订单号")
    private String chargeRecordId;

    @ApiModelProperty(notes = "支付宝交易号")
    private String tradeNo;

    @ApiModelProperty(notes = "商户订单号")
    private String importBizNo;

    @ApiModelProperty(notes = "支付状态")
    private PayStatus payStatus;

    @ApiModelProperty(notes = "付款时间")
    private LocalDateTime payTime;

    @ApiModelProperty(notes = "创建时间")
    private LocalDateTime createTime;

    public static OpenApiChargeRecordQueryDto getInstance() {
        return new OpenApiChargeRecordQueryDto();
    }
}
